<template>
  <div class="indicators-container">
    <img :src="indicatorsUrl" alt="" class="indicators-img" />
    <div class="text-data">
      <span class="left-title">{{ indicatorsTitle }}</span>
      <span class="right-data">{{ indicatorsData }}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "IndicatorData",
  props: {
    indicatorsUrl: {
      default: "",
      type: String,
    },
    indicatorsTitle: {
      default: "",
      type: String,
    },
    indicatorsData: {
      default: 0,
      type: Number,
    },
  },
};
</script>

<style lang="scss" scoped>
.indicators-container {
  display: flex;
  align-items: center;

  .indicators-img {
    width: 120px;
    height: 120px;
    background-size: cover;
  }

  .text-data {
    color: #b3f9ff;
    letter-spacing: 3px;

    .left-title {
      font-size: 23px;
    }

    .right-data {
      margin-left: 30px;
      font-size: 30px;
      font-weight: 600;
    }
  }
}
</style>
